package com.huaxin.mapper;


import com.huaxin.entity.ProductInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author Coray
 * @Time 2020-5-25
 */
public interface ProductInfoMapper {
//    按商品状态查询
    List<ProductInfo> selectByStatus(@Param("sta")Integer status,@Param("num")Integer number);
//  按商品名称查询
    List<ProductInfo> selectByName(String name);
}